home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLBodyElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  7KB  |  207 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLBodyElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLBodyElement_h__
  6. #define __gen_nsIDOMHTMLBodyElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLBodyElement */
  19. #define NS_IDOMHTMLBODYELEMENT_IID_STR "a6cf908e-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLBODYELEMENT_IID \
  22.   {0xa6cf908e, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLBodyElement interface is the interface to a [X]HTML
  27.  * body element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBODYELEMENT_IID)
  38.  
  39.   /* attribute DOMString aLink; */
  40.   NS_IMETHOD GetALink(nsAString & aALink) = 0;
  41.   NS_IMETHOD SetALink(const nsAString & aALink) = 0;
  42.  
  43.   /* attribute DOMString background; */
  44.   NS_IMETHOD GetBackground(nsAString & aBackground) = 0;
  45.   NS_IMETHOD SetBackground(const nsAString & aBackground) = 0;
  46.  
  47.   /* attribute DOMString bgColor; */
  48.   NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
  49.   NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
  50.  
  51.   /* attribute DOMString link; */
  52.   NS_IMETHOD GetLink(nsAString & aLink) = 0;
  53.   NS_IMETHOD SetLink(const nsAString & aLink) = 0;
  54.  
  55.   /* attribute DOMString text; */
  56.   NS_IMETHOD GetText(nsAString & aText) = 0;
  57.   NS_IMETHOD SetText(const nsAString & aText) = 0;
  58.  
  59.   /* attribute DOMString vLink; */
  60.   NS_IMETHOD GetVLink(nsAString & aVLink) = 0;
  61.   NS_IMETHOD SetVLink(const nsAString & aVLink) = 0;
  62.  
  63. };
  64.  
  65. /* Use this macro when declaring classes that implement this interface. */
  66. #define NS_DECL_NSIDOMHTMLBODYELEMENT \
  67.   NS_IMETHOD GetALink(nsAString & aALink); \
  68.   NS_IMETHOD SetALink(const nsAString & aALink); \
  69.   NS_IMETHOD GetBackground(nsAString & aBackground); \
  70.   NS_IMETHOD SetBackground(const nsAString & aBackground); \
  71.   NS_IMETHOD GetBgColor(nsAString & aBgColor); \
  72.   NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
  73.   NS_IMETHOD GetLink(nsAString & aLink); \
  74.   NS_IMETHOD SetLink(const nsAString & aLink); \
  75.   NS_IMETHOD GetText(nsAString & aText); \
  76.   NS_IMETHOD SetText(const nsAString & aText); \
  77.   NS_IMETHOD GetVLink(nsAString & aVLink); \
  78.   NS_IMETHOD SetVLink(const nsAString & aVLink); 
  79.  
  80. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  81. #define NS_FORWARD_NSIDOMHTMLBODYELEMENT(_to) \
  82.   NS_IMETHOD GetALink(nsAString & aALink) { return _to GetALink(aALink); } \
  83.   NS_IMETHOD SetALink(const nsAString & aALink) { return _to SetALink(aALink); } \
  84.   NS_IMETHOD GetBackground(nsAString & aBackground) { return _to GetBackground(aBackground); } \
  85.   NS_IMETHOD SetBackground(const nsAString & aBackground) { return _to SetBackground(aBackground); } \
  86.   NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
  87.   NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
  88.   NS_IMETHOD GetLink(nsAString & aLink) { return _to GetLink(aLink); } \
  89.   NS_IMETHOD SetLink(const nsAString & aLink) { return _to SetLink(aLink); } \
  90.   NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
  91.   NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
  92.   NS_IMETHOD GetVLink(nsAString & aVLink) { return _to GetVLink(aVLink); } \
  93.   NS_IMETHOD SetVLink(const nsAString & aVLink) { return _to SetVLink(aVLink); } 
  94.  
  95. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  96. #define NS_FORWARD_SAFE_NSIDOMHTMLBODYELEMENT(_to) \
  97.   NS_IMETHOD GetALink(nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetALink(aALink); } \
  98.   NS_IMETHOD SetALink(const nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetALink(aALink); } \
  99.   NS_IMETHOD GetBackground(nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBackground(aBackground); } \
  100.   NS_IMETHOD SetBackground(const nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBackground(aBackground); } \
  101.   NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
  102.   NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
  103.   NS_IMETHOD GetLink(nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
  104.   NS_IMETHOD SetLink(const nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
  105.   NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
  106.   NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
  107.   NS_IMETHOD GetVLink(nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVLink(aVLink); } \
  108.   NS_IMETHOD SetVLink(const nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVLink(aVLink); } 
  109.  
  110. #if 0
  111. /* Use the code below as a template for the implementation class for this interface. */
  112.  
  113. /* Header file */
  114. class nsDOMHTMLBodyElement : public nsIDOMHTMLBodyElement
  115. {
  116. public:
  117.   NS_DECL_ISUPPORTS
  118.   NS_DECL_NSIDOMHTMLBODYELEMENT
  119.  
  120.   nsDOMHTMLBodyElement();
  121.  
  122. private:
  123.   ~nsDOMHTMLBodyElement();
  124.  
  125. protected:
  126.   /* additional members */
  127. };
  128.  
  129. /* Implementation file */
  130. NS_IMPL_ISUPPORTS1(nsDOMHTMLBodyElement, nsIDOMHTMLBodyElement)
  131.  
  132. nsDOMHTMLBodyElement::nsDOMHTMLBodyElement()
  133. {
  134.   /* member initializers and constructor code */
  135. }
  136.  
  137. nsDOMHTMLBodyElement::~nsDOMHTMLBodyElement()
  138. {
  139.   /* destructor code */
  140. }
  141.  
  142. /* attribute DOMString aLink; */
  143. NS_IMETHODIMP nsDOMHTMLBodyElement::GetALink(nsAString & aALink)
  144. {
  145.     return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. NS_IMETHODIMP nsDOMHTMLBodyElement::SetALink(const nsAString & aALink)
  148. {
  149.     return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151.  
  152. /* attribute DOMString background; */
  153. NS_IMETHODIMP nsDOMHTMLBodyElement::GetBackground(nsAString & aBackground)
  154. {
  155.     return NS_ERROR_NOT_IMPLEMENTED;
  156. }
  157. NS_IMETHODIMP nsDOMHTMLBodyElement::SetBackground(const nsAString & aBackground)
  158. {
  159.     return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161.  
  162. /* attribute DOMString bgColor; */
  163. NS_IMETHODIMP nsDOMHTMLBodyElement::GetBgColor(nsAString & aBgColor)
  164. {
  165.     return NS_ERROR_NOT_IMPLEMENTED;
  166. }
  167. NS_IMETHODIMP nsDOMHTMLBodyElement::SetBgColor(const nsAString & aBgColor)
  168. {
  169.     return NS_ERROR_NOT_IMPLEMENTED;
  170. }
  171.  
  172. /* attribute DOMString link; */
  173. NS_IMETHODIMP nsDOMHTMLBodyElement::GetLink(nsAString & aLink)
  174. {
  175.     return NS_ERROR_NOT_IMPLEMENTED;
  176. }
  177. NS_IMETHODIMP nsDOMHTMLBodyElement::SetLink(const nsAString & aLink)
  178. {
  179.     return NS_ERROR_NOT_IMPLEMENTED;
  180. }
  181.  
  182. /* attribute DOMString text; */
  183. NS_IMETHODIMP nsDOMHTMLBodyElement::GetText(nsAString & aText)
  184. {
  185.     return NS_ERROR_NOT_IMPLEMENTED;
  186. }
  187. NS_IMETHODIMP nsDOMHTMLBodyElement::SetText(const nsAString & aText)
  188. {
  189.     return NS_ERROR_NOT_IMPLEMENTED;
  190. }
  191.  
  192. /* attribute DOMString vLink; */
  193. NS_IMETHODIMP nsDOMHTMLBodyElement::GetVLink(nsAString & aVLink)
  194. {
  195.     return NS_ERROR_NOT_IMPLEMENTED;
  196. }
  197. NS_IMETHODIMP nsDOMHTMLBodyElement::SetVLink(const nsAString & aVLink)
  198. {
  199.     return NS_ERROR_NOT_IMPLEMENTED;
  200. }
  201.  
  202. /* End of implementation class template. */
  203. #endif
  204.  
  205.  
  206. #endif /* __gen_nsIDOMHTMLBodyElement_h__ */
  207.